package ast;

import visitor.*;

public class ExprLogica extends AbstractExpresion
{
	public ExprLogica(Expresion left, String operator, Expresion right){
		this.left = left;
		this.operator = operator;
		this.right = right;
	}
	public ExprLogica(Object left, Object operator, Object right){
		this.left = (Expresion)left;
		this.operator = (String)operator;
		this.right = (Expresion)right;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public Expresion left;
	public String operator;
	public Expresion right;
}
